home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / alarm400.zip / DTCHK.DOC < prev    next >
Text File  |  1987-10-11  |  4KB  |  105 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                     DTCHK : The Date and Time Check Utility
  7.                            Version 1.00, 11-Oct-1987
  8.                                   SMG Software
  9.  
  10.                              (C) Copyright 1987 by
  11.                                Steven Georgiades
  12.                               All Rights Reserved
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.          The  DTCHK utility is a program that will compare the current date 
  21.     and/or  time  against those set in the system clock,  and will set  the 
  22.     return code to zero (0)  if there is a match, and one (1) if not.   The 
  23.     command usage is as follows: 
  24.  
  25.          DTCHK w [mo [dy [year [hr [mn]]]]]
  26.  
  27.                w = Day of Week (0 to 6, 0 = Sunday)
  28.               mo = Month (1 to 12)
  29.               dy = Day of Month (1 to 31)
  30.             year = Year (1980 to 2099)
  31.               hr = Hour (0 to 23)
  32.               mn = Minute (0 to 59)
  33.  
  34.     An  asterisk may be substituted for any of the six fields in the  DTCHK 
  35.     command line.   This will be interpreted by DTCHK as a wildcard,  which 
  36.     will  match  any value for that field.   Any trailing fields  that  are 
  37.     omitted are considered to be wildcards.  In other words, 
  38.  
  39.          DTCHK * 3 17
  40.  
  41.     is equivalent to 
  42.  
  43.          DTCHK * 3 17 * * *
  44.  
  45.          Since  the DTCHK utility responds with a return code,  the  result 
  46.     must  be  tested  via the IF ERRORLEVEL construct from within  a  batch 
  47.     file.   Please read your DOS manual for further information.  A  sample 
  48.     batch file is included with this package.  
  49.     
  50.     DTCHK, Version 1.00                                              Page 1
  51.  
  52.  
  53.  
  54.  
  55.          The  DTCHK program is a subsidiary utility of the  ALARM  program, 
  56.     and  are  distributed as ShareWare.   "ShareWare"  means that  you  are 
  57.     granted free license to use,  copy and distribute this software, within 
  58.     the following restrictions: 
  59.  
  60.          1).  It must be distributed in its original,  unmodified  form, 
  61.               including program, documentation and all associated files.  
  62.  
  63.          2).  No  fee may be charged for use,  copying  or  distribution 
  64.               (With the exception of nominal "per disk" copying charges, 
  65.               not to exceed $6.00 per disk).  
  66.  
  67.          3).  The  program  may  not  be included with  other  goods  or 
  68.               services supplied for a fee,  unless written permission to 
  69.               do so is obtained in advance from the author.  
  70.  
  71.     Although distributed as part of the ALARM program, feel free to use and 
  72.     distribute   DTCHK   independently  of  ALARM.    For  information   on 
  73.     registering  or  obtaining source code for DTCHK,  refer to  the  ALARM 
  74.     program documentation.  
  75.  
  76.          This program is provided AS IS without any warranty,  expressed or 
  77.     implied,  including but  not limited to fitfulness for a particular use 
  78.     or  purpose.   Neither the author nor SMG Software assume liability for 
  79.     any damages incurred through the use of the program.  
  80.  
  81.          If you have any problem,  or feel you have found a bug in this  or 
  82.     any other SMG program,  please let me know.  I also welcome any and all 
  83.     questions   and  comments.    Address  all  correspondence   (including 
  84.     registrations) to the following address: 
  85.  
  86.                 Steven Georgiades
  87.                 SMG Software
  88.                 701-H South Hayward Street
  89.                 Anaheim, CA  92804
  90.  
  91.     Or leave a message for me on the Circuit Board:
  92.  
  93.                 The Circuit Board RBBS
  94.                 SysOp: Dave Kleinschmidt
  95.                 (714) 778-0948
  96.                 1200/2400 Baud, No Fee
  97.  
  98.     All  SMG  Software  is  initially released to the  public  through  the 
  99.     Circuit  Board.   The latest version of any SMG Software can always  be 
  100.     found there.  
  101.  
  102.     A diskette containing all of the latest SMG Software can be obtained by 
  103.     sending a check or money order for $6.00  to the above address.    Make 
  104.     all checks payable to Steven M. Georgiades.  Thank you.  
  105.